package com.cqeec.demo2.demos.demo;

public class TestMain {
    public static void main(String[] args) {
//        Message email=new Sms();
//        sendMessage(email);
        sendMessage((name,age)->
            System.out.println("send Sms")
        );
    }
    static void sendMessage(Message message){

        message.send("teo","899");
    }
}
